package cn.jiyun.feign;

import cn.jiyun.pojoday07.Labels;
import cn.jiyun.pojoday09.MenusEmp;
import cn.jiyun.pojoday09.MenusResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Author: 小周
 * @Package: cn.jiyun.feign
 * @Project: 2210A-project1
 * @name: TestService
 * @Date: 2023/8/23 19:34
 * @Filename: TestService
 */
@FeignClient(value = "day09menus")
public interface TestService5 {

    @RequestMapping("/menus/findMenusCounts")
    String findMenusCounts(@RequestParam("cid") String cid);
    @RequestMapping("/menus/findCourseXue")
    List<MenusEmp> findCourseXue(@RequestParam("cid")String cid, @RequestParam("eid") String eid);
    @RequestMapping("/menus/findMenusAll")
    List<MenusResult> findMenusAll(@RequestParam("cid")String cid);
    @RequestMapping("/menus/xueMenus")
    int xueMenus(MenusEmp menusEmp);
}
